QuickTime 4 API Documentation

3D Graphics Programming with QuickDraw 3D 1.5.4

Previous | QD3D Book | Overview | Chapter Contents | Next |

General Polygon Hints

Labels

ASCII
GeneralPolygonHint
Binary
gplh ( = 0x67706C68 )

General Polygon HintS

Complex             0x00000000
Concave             0x00000001
Convex              0x00000002

Constant descriptions

Complex
The parent general polygon may include concave, convex, and self-intersecting polygons.
Concave
All contours of the parent general polygon are concave and none is self-intersecting.
Convex
All contours of the parent general polygon are convex and none is self-intersecting.

Data Format

GeneralPolygonHintEnum              shapeHint
shapeHint
The value in this field must be one of the constants defined above.

Data Size

4

Description

A general polygon hint object is used to provide a reading application with an indication of the shape of a general polygon.

Default Surface Parameterization

None.

Parent Hierarchy

Data.

Parent Objects

General polygon. A general polygon hint object always has a parent object.

Child Objects

None.

Example

Container (
    GeneralPolygon ( ... )
    GeneralPolygonHint ( Complex )
)

Default Value

Complex .


© 1997 Apple Computer, Inc.

Previous | QD3D Book | Overview | Chapter Contents | Next |